package io.renren.modules.live.dao;

import io.renren.modules.live.entity.FanweBankCardEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author shaoqi
 * @email sunlightcs@gmail.com
 * @date 2020-11-20 16:07:22
 */
@Mapper
public interface FanweBankCardDao extends BaseMapper<FanweBankCardEntity> {

    List<FanweBankCardEntity> getByUserId(Long id);


    void deleteByUserId(@Param("userId") Long userId, @Param("bankNumber") String bankNumber);
}
